package wang.aweb.childcar.model.req;

import javax.validation.constraints.NotNull;

public class UpdateDeviceReq {
    @NotNull(message = "id不能为空")
    private Integer id;
    @NotNull(message = "imei不能为空")
    private String imei;
    @NotNull(message = "机器名称不能为空")
    private String name;
    @NotNull(message = "地址不能为空")
    private String address;
    @NotNull(message = "单价不能为空")
    private Integer minprice;
    @NotNull(message = "必须选择代理商")
    private Integer agent_id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getMinprice() {
        return minprice;
    }

    public void setMinprice(Integer minprice) {
        this.minprice = minprice;
    }

    public Integer getAgent_id() {
        return agent_id;
    }

    public void setAgent_id(Integer agent_id) {
        this.agent_id = agent_id;
    }
}
